<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html>
	<head>
		<title><s:property value="#request.title" escape="false" /></title>
		<script type="text/javascript">
					Ext.onReady(function() {
						var config={
								title: '<s:property value="#request.title" escape="false" />',
								msg: '<s:property value="#request.msg" escape="false" />',
								width: 300,
								closable :false,
								buttons: Ext.Msg.OK,
								icon: Ext.Msg.QUESTION,
								fn:function(){
									  <s:if test="#request.jumpPageType=='inner'">
			window.open("<%=basePath%><s:property value="#request.jumpPage" />","_self");
		</s:if>
		<s:elseif test="#request.jumpPageType=='outter'">
				   window.open("<s:property value="#request.jumpPage" />","_blank");
		</s:elseif>
									}
								};
						 Ext.Msg.show(config);
					 });
				</script>
	</head>
	<body></body>
</html>

